package com.naire.modul.answer.vo;

import java.util.ArrayList;
import java.util.List;

import net.common.util.GsonUtils;

public class AnswerVo {

	private Integer answer_id;
	private String answer_num;
	private String answer_name;
	private String answer_type;
	private String answer_rule;
	private Integer flag;
	private String input_type;
	private String sort_num;
	private List<OptionVo> options = new ArrayList<OptionVo>();

	public void setAnswer_id(Integer answer_id) {
		this.answer_id = answer_id;
	}

	public Integer getAnswer_id() {
		return answer_id;
	}

	public void setAnswer_num(String answer_num) {
		this.answer_num = answer_num;
	}

	public String getAnswer_num() {
		return answer_num;
	}

	public void setAnswer_name(String answer_name) {
		this.answer_name = answer_name;
	}

	public String getAnswer_name() {
		return answer_name;
	}

	public void setAnswer_type(String answer_type) {
		this.answer_type = answer_type;
	}

	public String getAnswer_type() {
		return answer_type;
	}

	public void setAnswer_rule(String answer_rule) {
		this.answer_rule = answer_rule;
	}

	public String getAnswer_rule() {
		return answer_rule;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setInput_type(String input_type) {
		this.input_type = input_type;
	}

	public String getInput_type() {
		return input_type;
	}

	public void setSort_num(String sort_num) {
		this.sort_num = sort_num;
	}

	public String getSort_num() {
		return sort_num;
	}

	public List<OptionVo> getOptions() {
		return options;
	}

	public void setOptions(List<OptionVo> options) {
		this.options = options;
	}

	public String getJson() {
		return GsonUtils.getGson(this);
	}
}
